package com.chengyu.core.entity;

/**
 * 枚举会员拥有的自媒体编号
 * Created by macro on 2019/4/19.
 */
public enum OwningSelfMediaCode implements IErrorCode {
    SUCCESS(1, "抖音"),
    FAILED(2, "快手"),
    VALIDATE_FAILED(3, "小红书"),
    UNAUTHORIZED(4, "B站"),
    FORBIDDEN(5, "视频号");
    private long code;
    private String message;

    private OwningSelfMediaCode(long code, String message) {
        this.code = code;
        this.message = message;
    }

    public long getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
